<?php
include_once('HTGPage.class.php');

$page = new HTGPage();

/* @var $utils Utils */
$utils = $page->myUtils;

$posts = $utils->getBlogEntries();


foreach($posts as $recordNum => $post) {
	$page->content .= '<div class="post" style="width: 583px;">
<div class="title">
<h2><a name="' . $post['be_id'] . '">' . $post['be_title'] . '</a></h2>
<p>' . @$wrongpostvar['be_initdate'] . '</p>

</div>
<div class="entry">' . $post['be_text'] . '</div>
	</div><br />';
}

$page->display();
?>